package com.ruipengkj.bean;



import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;



@Entity
public class TOrderSummary {
	
	@Column(name = "CardAmounts")
	private Double cardAmounts;
	
	@Column(name = "DiscountAmounts")
	private Double discountAmounts;
	
	@Column(name = "CashAmounts")
	private Double cashAmounts;
	
	@Column(name = "RechargeAmount")
	private Double rechangeAmounts;
	
	@Column(name = "Counts")
	private Integer counts;
	
	@Column(name = "WorkShiftID")
	private String workShiftID;
	
	@Id
	public String getWorkShiftID() {
		return workShiftID;
	}
	public void setWorkShiftID(String workShiftID) {
		this.workShiftID = workShiftID;
	}
	public Double getCardAmounts() {
		if(cardAmounts==null){
			return 0.00;
		}
		return cardAmounts;
	}
	public void setCardAmounts(Double cardAmounts) {
		this.cardAmounts = cardAmounts;
	}
	public Double getDiscountAmounts() {
		if(discountAmounts==null){
			return 0.00;
		}
		return discountAmounts;
	}
	public void setDiscountAmounts(Double discountAmounts) {
		this.discountAmounts = discountAmounts;
	}
	public Double getCashAmounts() {
		if(cashAmounts==null){
			return 0.00;
		}
		return cashAmounts;
	}
	public void setCashAmounts(Double cashAmounts) {
		this.cashAmounts = cashAmounts;
	}
	public Double getRechangeAmounts() {
		if(rechangeAmounts==null){
			return 0.00;
		}
		return rechangeAmounts;
	}
	public void setRechangeAmounts(Double rechangeAmounts) {
		this.rechangeAmounts = rechangeAmounts;
	}
	public Integer getCounts() {
		if(counts==null){
			return 0;
		}
		return counts;
	}
	public void setCounts(Integer counts) {
		this.counts = counts;
	}
	
}
